package com.lcg.learn.factory.factoryMethod.model;

/**
 * 抽象产品类，定义公共属性，
 *
 * 定义公共的抽象方法 makeJuice
 *
 */
public abstract class JuiceModel {

    private String juiceName;
    private String juicePrice;
    private String juiceDate;

    /**
     * 通用的抽象方法 makeJuice
     */
    public abstract void makeJuice();



    public void setJuiceName(String juiceName) {
        this.juiceName = juiceName;
    }

    public void setJuicePrice(String juicePrice) {
        this.juicePrice = juicePrice;
    }

    public void setJuiceDate(String juiceDate) {
        this.juiceDate = juiceDate;
    }

    public String getJuiceName() {
        return juiceName;
    }

    public String getJuicePrice() {
        return juicePrice;
    }

    public String getJuiceDate() {
        return juiceDate;
    }
}
